package com.cindata

import grails.converters.JSON
import grails.gorm.transactions.Transactional
import groovy.transform.CompileStatic
import groovy.transform.TypeChecked

import java.security.MessageDigest
import java.text.SimpleDateFormat

import com.cindata.dictionary.*

@Transactional
@CompileStatic
@TypeChecked
class CollateralService
{
    static scope = "singleton"

    // 初始化押品登记流程
    def initCollateralFlowStage(Collateral collateral, Workflow workflow)
    {
        if (workflow)
        {
            
        }
        else
        {
            println "未找到工作流，押品 ${collateral?.externalId} 初始化失败"
        }
    }
}
